LICENSE = "GPLv2"
LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

#SRC_URI = "git://github.com/linux-sunxi/libvdpau-sunxi.git;protocol=https"
SRC_URI = "git://192.168.1.102/gaozhenyan/libvdpau-sunxi.git;protocol=http"

PV = "1.0+git${SRCPV}"
SRCREV = "${AUTOREV}"

S = "${WORKDIR}/git"

DEPENDS += "libvdpau libcedrus pixman libx11"
RDEPENDS_${PN} += "libvdpau libcedrus pixman libx11"

do_configure () {
	# Specify any needed configure commands here
	:
}

do_compile () {
	# You will almost certainly need to add additional arguments here
	oe_runmake
}

do_install () {
	# This is a guess; additional arguments may be required
	oe_runmake install 'DESTDIR=${D}'
}

FILES_${PN} += "${libdir}/vdpau/*"
